home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000051_icon-group-sender _Tue Jun 2 09:05:21 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id JAA11212
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 2 Jun 1998 09:05:21 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA05080; Tue, 2 Jun 1998 09:05:14 -0700
  7. Date: Mon, 1 Jun 1998 23:43:37 -0500
  8. Message-Id: <199806020443.XAA08820@segfault.cs.utsa.edu>
  9. From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
  10. To: ok@atlas.otago.ac.nz
  11. Cc: abrahams@acm.org, icon-group@optima.CS.Arizona.EDU
  12. In-Reply-To: <199806020129.NAA09045@atlas.otago.ac.nz> (ok@atlas.otago.ac.nz)
  13. Subject: Directory access facilities
  14. Reply-To: jeffery@cs.utsa.edu
  15. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  16. Status: RO
  17. Content-Length: 996
  18.  
  19. [Richard O'Keefe points out that directories are more like tables than they
  20. are like files, and suggests a built-in function that returns a table mapping
  21. file names to records of attributes, like in Tcl.]
  22.  
  23. Well, this is the kind of thing that gets object-oriented modeling people
  24. excited.  A directory *is* a file (it has persistent state, lives in the
  25. file system name space, etc.) and it *is* a table (set of keys that map onto
  26. values).  Your point is well-taken.  From a table it would be trivial to use
  27. key(T) to generate the filenames for the common case that Paul wanted.  If
  28. you push the table analogy to its logical extreme, though, you should
  29. implement the directory/table operations as direct manipulations on the file
  30. system, like in the language EZ.
  31.  
  32. Anyone else have ideas (or votes) on how to do directory access facilities?
  33.  
  34. Clint Jeffery, jeffery@cs.utsa.edu
  35. Division of Computer Science, The University of Texas at San Antonio
  36. Research http://www.cs.utsa.edu/research/plss.html
  37.